﻿using SqlSugar;

namespace JT808Gateway.Data.Entity
{
    [SugarTable("ForwardingServers", "gwdata")]
    public class ForwardingServer
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public string Name { get; set; }

        public string IPAddress { get; set; }

        public int Port { get; set; }

        public EnumNetType NetType { get; set; }
    }

    public enum EnumNetType
    {
        TCP = 1, UDP = 0
    }
}